package com.neusoft.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.po.books;
import com.neusoft.po.booksExt;
import com.neusoft.po.booksSub;
@Repository
public interface booksDao extends BaseMapper<books>{
	
	//锟斤拷锟酵硷拷锟侥凤拷锟斤拷
	//Integer addbooks(books book);

	//锟斤拷态锟斤拷询图锟斤拷锟斤拷息
	List<books> selectallXml(books con);
	
	//实锟斤拷锟睫革拷图锟斤拷
	Integer updatebooksxml(books book);
	
	//锟斤拷询全锟斤拷图锟斤拷
	List<Map<String,Object>> queryallbooksMap();
	
	//锟斤拷询全锟斤拷图锟斤拷锟酵硷拷锟斤拷锟较�
	List<booksExt> selectallbooksandxinxi();
	
	//锟斤拷询全锟斤拷图锟斤拷锟斤拷息锟斤拷锟斤拷锟斤拷锟斤拷息
	List<booksExt> selectbookandviews();
	
	//删锟斤拷图锟斤拷锟斤拷息锟侥凤拷锟斤拷
	Integer deletebook(Integer book_id); 
	
}
